package com.qfedu.yanglao20admin.visit.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author yujie
 * @data 2023/4/22 18:18
 */
@Data
@ApiModel("服务回访展示信息")
public class ReturnVisitVO {

    @ApiModelProperty("服务回访id")
    private Integer id;

    @ApiModelProperty("订单编号")
    private String indentId;

    @ApiModelProperty("ID")
    private String accountId;

    /**
     * 下单时间
     */
    @ApiModelProperty("下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 姓名
     */
    @ApiModelProperty("下单用户")
    private String name;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("服务类型")
    private String applyName;

    @ApiModelProperty("订单价格")
    private Double price;

    @ApiModelProperty("实付金额")
    private String amount;

    @ApiModelProperty("陪护员")
    private String caregiver;

    @ApiModelProperty("回访状态0待回访1已回访")
    private Integer visitFlag;
}
